c check to check for leap year condition